﻿using System;

namespace HBattle
{
    public enum MSG
    {

    }

    public class Telegram
    {
        public int Sender;
        public int Receiver;
        public MSG Msg;

        public float DispatchTime;

        public Object ExtraInfo;

        public Telegram(int sender, int receiver, MSG msg, float dispatchTime,Object extraInfo = null)
        {
            Sender = sender;
            Receiver = receiver;
            Msg = msg;
            DispatchTime = dispatchTime;
            ExtraInfo = extraInfo;
        }
    }
}

